package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.RoleDto;
import com.itheima.entry.PageResult;
import com.itheima.entry.QueryPageBean;
import com.itheima.pojo.Role;
import com.itheima.pojo.RoleUser;

/**
 * @author jshstart
 * @creat 2020-11-23 9:42
 */
public interface RoleUserService extends IService<RoleUser> {

    Long[] findUserByRoleId(Long id);
    void deleteById(Long roleId);
    void deleteRoleByUserId(Long userId);

    Long[] findRoleByRoleId(Long id);
}
